<?php
/**
 * Created by PhpStorm.
 * User: yappy
 * Date: 2016/3/4 0004
 * Time: 16:12
 */
namespace common\components;


use yii\base\Exception;

class ParamException extends Exception {
    public $param = '';
    public function __construct($theParam) {
        $this->param = $theParam;
    }
    public function getName() {
        return 'ParamException';
    }
    public function getDesc() {
        return 'Param ' . $this->param . ' required.';
    }
}